﻿using System;
using System.Xml.Serialization;

namespace ZenWplExporter.Wpl
{
	/// <summary>
	/// Defines WPL media element
	/// </summary>
	[Serializable]
	public class MediaInfo
	{
		/// <summary>
		/// The URL of a media item. Required.
		/// </summary>
		/// <value>The source.</value>
		[XmlAttribute("src")]
		public string Source { get; set; }

		/// <summary>
		/// Gets or sets the Tracking ID.
		/// </summary>
		/// <value>The tracking id.</value>
		[XmlAttribute("tid")]
		public string TrackingId { get; set; }

		/// <summary>
		/// Gets or sets the Content ID.
		/// </summary>
		/// <value>The content id.</value>
		[XmlAttribute("cid")]
		public string ContentId { get; set; }
	}
}